package page;

import lombok.Data;



@Data
public class PageBean {
    private Integer maxPgaeTotal = new Integer(0);
    private Integer maxRecordTotal = new Integer(0);
    private Integer pageNums = new Integer(0);
    private Integer pageRecord = new Integer(0);

    public Integer getLastPage(){
        return pageNums-1;
    }

    public Integer getNextPage(){
        return pageNums+1;
    }
}
